<div class="row-fluid">
    <div class="span2">
        <div>
            <p class="nav-header">Actions</p>
            <ul class="nav nav-tabs nav-stacked">                
                <li><a href="<?php echo $this->Html->url('opinions/' . $broker['Broker']['id']); ?>"><?php echo $broker['Broker']['fullname'] ?>'s Opinions</a></li>
            </ul>
        </div>
    </div>
    <div class="span10">
        <form action="" class="well" id="BrokerAddForm" method="post" accept-charset="utf-8">
            <div style="display:none;">
                <input type="hidden" name="_method" value="PUT">
            </div>        
            <fieldset>
                <legend>Add Opinion</legend>             

                <div class="control-group required">
                    <label for="Stock">Stock (*)</label>
                    <select name="stock" help="" id="Stock" required="required">
                        <?php
                        foreach ($stocks as $stock) {
                            echo '<option value="' . $stock['Stock']['id'] . '">' . $stock['Stock']['name'] . '</option>';
                        }
                        ?>
                    </select>                    
                </div>

                <div class="control-group required">
                    <label for="Date">Date (*)</label>
                    <input name="date" help="" class="datepicker" type="text" value="" id="Date" required="required">
                </div>

                <div class="control-group">
                    <label for="opinion">Opinion</label>
                    <select name="opinion" help="" id="opinion">
                        <option value="0">Up</option>
                        <option value="1">Unchange</option>
                        <option value="2">Down</option>
                    </select>
                </div>
            </fieldset>        
            <div class="submit">
                <input class="btn btn-primary" type="submit" value="Save">
            </div>
        </form>    
    </div>
</div>